<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>管理员登录</title>
  </head>
  
 <body style='background-color:#99BBFF'>
         <form action="servlet/loginservlet" method="post">
		姓&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp名&nbsp：<input type="text" name = "username"><br/><br/>
		密&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp码&nbsp：<input type="password" name = "password"><br/><br/>
		 <input type='submit' value='管理员登录'><br>
		 
		  <%String error=(String)request.getAttribute("errorInfo");
		 if(error!=null){
			out.println("请重新登录：<font color='red'>"+error+"</font><br>");
		 } %>
  </body>
</html>
